package top.kpromise.ibase

import android.app.Application

open class IApplication : Application(){

    companion object {
        var app: Application? = null

        fun init(application: Application) {
            app = application
        }
    }

    override fun onCreate() {
        super.onCreate()
        init(this)
    }
}